<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/4/15
  Time: 0:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>用户中心</title>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/user.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/userinfo.css">
</head>
<body>



<div class="main_con clearfix">
    <div class="left_menu_con clearfix">
        <h3>用户中心</h3>
        <ul>

                <li><a href="${pageContext.request.contextPath}/user/info" class="active">· 个人信息</a></li>
                <li><a href="${pageContext.request.contextPath}/user_info/updata_password" class="active">· 修改密码</a></li>
                <li><a href="${pageContext.request.contextPath}/favorite/user_favorite" class="active">· 收藏列表</a></li>
                <li><a href="${pageContext.request.contextPath}/product/getProductByUserId" class="active">· 发布的闲置商品</a></li>
                <li><a href="${pageContext.request.contextPath}/lostProduct/getLostProductByUserId" class="active">· 发布的失物招领信息</a></li>

            </ul>

    </div>
    <div class="right_content clearfix">
        <div class="right_content clearfix">
            <div style="width: 50px;height: 50px ;float: right;"><img src="${user.photo}" style="border-radius: 50%" /></div>
            <div class="info_con clearfix">
                <h3 style="line-height: 20px;font-size: 16px;">当前位置:<a href="${pageContext.request.contextPath}/index/ToIndex" >首页</a>><a href="${pageContext.request.contextPath}/product/toShop"> 闲置物品</a>>个人中心</h3>
                <ul class="user_info_list">

                    <li><span>学号：</span>${user.username}</li>

                    <li><span>名称：</span>${user.nickname}</li>

                    <li><span>联系方式：</span>${user.phone}</li>

                    <li><span>地址：</span>${user.address}</li>
                    

                </ul>
                     <a href="${pageContext.request.contextPath}/user/jumpUpdateUserEdit"><div style="font-size: 19px">点击修改</div></a>
            </div>
        </div>
        <div style="width: 200px;height: 200px"></div>






</body>
</html>